home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Night Owl 9
/
Night Owl CD-ROM (NOPV9) (Night Owl Publisher) (1993).ISO
/
050a
/
snr53b.zip
/
ASC2VP.S
< prev
next >
Wrap
Text File
|
1993-05-30
|
2KB
|
56 lines
\ ASC2VP.S
\ Transform a mild-mannered ASCII file into one that has
\ Ventura Publisher special characters in it -- makes it look better in print
\ THIS SECTION WILL TRANSFORM COMMON TEXT INTO SPECIAL SYMBOLS
\ You may want to change some of the left-hand definitions, if they
\ conflict with standard text you already use.
...=<193> \ ellipses (three periods in a row)
--=<197> \ em dash (two hyphens in a row)
(TM)=<191> \ trademark, as in Macintosh(TM)
(tm)=<191> \ trademark
(C)=<189> \ copyright, as in (C) 1988
(c)=<189> \ copyright
(R)=<190> \ registered mark, as in IBM(R) PC
(r)=<190> \ registered mark
(ss)=<185> \ section mark, as in (ss)1.2.1
(++)=<186> \ double dagger
(+)=<187> \ single dagger
\ Here are some definitions for a bullet using a period, asterisk, letter o
. = <195>\20 \ period between spaces to bullet
\2a = <195>\20 \ asterisk between spaces to bullet
o = <195>\20 \ "o" between spaces to bullet
\0a. =\0a<195>\20 \ period at beginning of line to bullet
\0a\2a =\0a<195>\20 \ asterisk at beginning of line to bullet
\0ao =\0a<195>\20 \ "o" at beginning of line to bullet
\ THIS SECTION WILL FIX DOUBLE QUOTES TO BE LEFT-AND-RIGHT FACING
"=<170> \ If none of the following left-sided conversions are done, then
\ assume a double quote is a right-sided quote
"= <169> \ double quote after a space should be left-sided
\0a"=\0a<169> \ and these are various other left-sided quotes
\09"=\09<169> \ (You may want to add some of your own)
-"=-<169>
/"=/<169>
("=(<169>
_"=_<169>
\ Note: the following conversions could also be handled with a numeric
\ wild card, but I've chosen to make them literal for speed purposes.
0"=0" \ assume that quotes following number characters
1"=1" \ are meant to be inches.
2"=2"
3"=3"
4"=4"
5"=5"
6"=6"
7"=7"
8"=8"
9"=9"